package com.googlecode.stockhamster.rumor;

public interface IRumor {
	public Integer[] getRumorList(Integer startID);
	
	public Integer[] getRumorEffectStocks(Integer rumorID);

	public Double getRumorEffectRatioByBank1(Integer rumorID);
	
	public Double getRumorEffectRatioByBank2(Integer rumorID);
	
	public Double getRumorEffectRatioByBank3(Integer rumorID);
	
	// for administrator
	public Boolean makeRumorCategory(String adminCode, String category, Double effectRatio,
			Double ratioByBank1, Double ratioByBank2, Double ratioByBank3);
	
	public Boolean makeRumorCompany(String adminCode, String companyName, Double effectRatio,
			Double ratioByBank1, Double ratioByBank2, Double ratioByBank3);
	
	public Boolean updateRatio(String adminCode, String companyName, Double ratio);
	
	// bank index, 1,2,3
	public Double getCompanyRatio(Integer bankIndex, String companyName);
	
	public Double getCategoryRatio(Integer bankIndex, String category);
}
